package com.nullpointer.idlegame.service.properties;

import com.nullpointer.idlegame.service.properties.action.CommonProperty;
import com.nullpointer.idlegame.service.properties.action.NeedCalculate;
import com.nullpointer.idlegame.service.properties.action.OnViewText;
import com.nullpointer.idlegame.service.properties.action.RWProperty;
import javafx.beans.property.SimpleStringProperty;

import java.util.function.Consumer;

/**
 * 玩家的基础属性。
 * 需要在前台展示文字,根据时间周期变化的变量。
 */
public class PlayerBaseProperty implements NeedCalculate, OnViewText, CommonProperty<String> {
    private Long lastCalculateTimestamp;

    @Override
    public boolean doCalculate() {
        return false;
    }

    @Override
    public SimpleStringProperty getBindProperty() {
        return null;
    }

    @Override
    public String get() {
        return null;
    }

    @Override
    public String set(String property) {
        return null;
    }

    @Override
    public void register(Consumer<String> consumer) {

    }
}
